SET DIR
This command will set the current working directory to the specified path.
SET DIR Path$
Path$
String
This command will set the current working directory to the specified path
This command does not return a value.
The path can be absolute or relative. Absolute paths contain the entire path including the drive letter. A relative path assumes the program has a valid current working directory and continues the path from the current location. Alternatively you can use the command CD, which does the same thing.
cls
set dir "c:\docs"
do
loop
end
FILE Commands Menu
Index